﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        欢迎 <b><%: Page.User.Identity.Name %></b>!
        [ <%: Html.ActionLink("修改密码", "ChangePassword", "Account")%> ]&nbsp; | &nbsp;
        [ <%: Html.ActionLink("退出", "LogOff", "Account") %> ]
<%
    }
    else {
%> 
        [ <%: Html.ActionLink("登录", "LogOn", "Account")%> ] 
        [ <%: Html.ActionLink("忘记密码", "ForgetPassword", "Account")%> ] &nbsp; | &nbsp;
        [ <%: Html.ActionLink("注册", "Register", "Account")%> ]
<%
    }
%>
